//
//  Timer + Control.swift
//  Edaixi-iOS
//
//  Created by 刘树华 on 2017/11/28.
//  Copyright © 2017年 刘树华. All rights reserved.
//

import Foundation
extension Timer {
    
    
    func pause ()  {
        
        self.fireDate = Date.distantFuture
    }
    func resume ()  {
        
        self.fireDate = Date()
    }

}
